home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
djgpp
/
libsrc
/
c
/
sys
/
umask.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1992-08-24
|
306 b
|
10 lines
/* The original djgpp umask function returns 0644, which is the
inverse of what we really want. This now returns 022, which means
that files are created with no write permission for group or other,
which is the normal value for a UNIX machine. */
int
umask(int mode)
{
return 022;
}